package com.llbnk.controller;


import com.llbnk.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {

    @Autowired
    private UserService userService;

    @GetMapping("/test/insert")
    public void testInsert(){
        userService.insert();
    }
    @GetMapping("/test/batch/insert")
    public void testBatchInsert(){
        userService.batchInsert();
    }

    @GetMapping("/test/process/insert")
    public void testProcessInsert(){
        userService.processInsert();
    }
}
